package com.dongdongshop.dao;

import com.dongdongshop.pojo.user.TbUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * 用户信息
 */
public interface UserRepostory extends JpaRepository<TbUser,Long>, JpaSpecificationExecutor<TbUser> {

    List<TbUser> findByUsernameIs(String username);
}
